projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd0959
)
* xdisp.c (reseat_to_string): Fix pointer signedness issue.
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 14 Jul 2011 21:34:18 +0000
(14:34 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 14 Jul 2011 21:34:18 +0000
(14:34 -0700)
src/ChangeLog
patch
|
blob
|
history
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 50a2d82fc7ed874dd6b8090424a060e92937708f..960ab3d07756fc6323b529ae36909af003842b2e 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2011-07-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ * xdisp.c (reseat_to_string): Fix pointer signedness issue.
+
2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
* data.c (Fcdr, Fcar): Revert the last change, since it didn't
diff --git
a/src/xdisp.c
b/src/xdisp.c
index f8b4e65a7e55c2956a16f988511ed1bdd747aef5..69a66a4db64a5bb887f2b82da2acb02ef4d64263 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-5890,7
+5890,7
@@
reseat_to_string (struct it *it, const char *s, Lisp_Object string,
if (it->bidi_p)
{
it->bidi_it.string.lstring = Qnil;
- it->bidi_it.string.s = s;
+ it->bidi_it.string.s =
(const unsigned char *)
s;
it->bidi_it.string.schars = it->end_charpos;
it->bidi_it.string.bufpos = 0;
it->bidi_it.string.from_disp_str = 0;